const app = getApp()

Component({
  properties: {
    text: String, // 聊天消息内容
    userInfo: Object
  },
  data: {
    userId: app.data.userInfo.userId
  }
})